0
Welcome Guest! Login
0 items Join Now

About StyleSwitcher in Versatility, Carbonation, etc

    • Youyou's Avatar
    • Youyou
    • Elite Rocketeer
    • Posts: 699
    • Thanks: 0

    Re: About StyleSwitcher in Versatility, Carbonation, etc

    Posted 17 years 5 months ago
    • Just a little precision.
      If you want totally remove the style switcher, you need also to remove the line:
      require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_styleloader.php");


      And changes lines (For carbonation/carbonite):
      $default_font = "default"; // smaller | default | larger
      $default_width = "thin"; // wide | thin
      $default_color = "red"; // blue | green | orange | red | pink | grey
      into:
      $fontstyle = "f-default";              // f-smaller | f-default | f-larger
      $widthstyle = "w-thin";                // w-wide | w-thin 
      $colorstyle = "red";         // blue | green | orange | red | pink | grey


      And changes lines (for VersatilityI-II):
      $default_width = "fluid"; // wide | thin | fluid
      into:
      $fontstyle = "f-default";              // f-smaller | f-default | f-larger
      $widthstyle = "w-thin";                // w-wide | w-thin | w-fluid


      And changes lines (for Mobius):
      $default_width = "thin"; // wide | thin
      $default_font = "default"; // smaller | default | larger
      $default_style = "style1"; // style1-6
      into:
      $widthstyle = "w-thin";                // w-wide | w-thin
      $fontstyle = "f-default";              // f-smaller | f-default | f-larger
      $tstyle = "style1";      // style1-6


      For the others and futurs templates, open rt_styleloader.php and see the first lines to know the usefull variables and eventual suffixes.
    • Anonymous's Avatar

    Re: About StyleSwitcher in Versatility, Carbonation, etc

    Posted 17 years 4 months ago
    • $mosConfig_live_site, then set the value to:
      $mosConfig_live_site = ' www.domain.com ';

      worked for me!
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: About StyleSwitcher in Versatility, Carbonation, etc

    Posted 17 years 4 months ago
    • thanks arifin and youyou

      you two are very helpful. true rockettheme hero's
    • Say no to Internet Explorer 6.
      twitter.com/mark_up
    • Ellie's Avatar
    • Ellie
    • Sr. Rocketeer
    • Posts: 143
    • Thanks: 0

    Re: About StyleSwitcher in Versatility, Carbonation, etc

    Posted 17 years 4 months ago
    • I've wanted to get rid of that for ages...so thanks for the walk through!

      couple little issues tho...I still have the little pointer arrows hanging out there. Do I need new .png images to fix that? Also, I didn't delete these lines, I just commented them out, and now I have a tiny, grey */ sitting up there, all lonely and weird. (you can see it at www.TeamAlopecia.com , if you wonder what the heck I mean. It's pretty faint, but, of course, it jumps out at me and drives me mad)

      What did I do wrong? Or, as the commenting out seemed to work, should I just pull the trigger and delete the code.

      But, for my edification, I should like to know why that happened.

      Best,
      Ellie
    • It feels like someone with a fever is yelling at my pants.
  • Re: About StyleSwitcher in Versatility, Carbonation, etc

    Posted 17 years 4 months ago
    • Hello Tom,

      I see your HTML source and found the problem is with your commenting.
      For commenting HTML code you must use :
      <!-- This is comment -->

      You are using /* bla bla bla */ now in your source. /* This is comment */ is used for commenting within PHP syntax.
      For example:
      <?php
      /* This word will not be displayed */
      echo "This word will be displayed";
      ?>

      So, to fix your problem, you just removed what I mentioned in the first post and You You's post or put the right commenting tag.


      Best Regards,

      Arifin FinLy
    • Last Edit: 17 years 4 months ago by Arifin FinLy.
    • Ellie's Avatar
    • Ellie
    • Sr. Rocketeer
    • Posts: 143
    • Thanks: 0

    Re: About StyleSwitcher in Versatility, Carbonation, etc

    Posted 17 years 4 months ago
    • ooops...

      so I decided to just remove the code as it seemed the best option and this is now what happened!

      www.TeamAlopecia.com

      yuck! what did I do wrong?
      Code:

      <div id="access">
      bla bla bla
      bla bla bla
      bla bla bla
      </div>

      * Remove all of those lines and your styleswitcher will disappear from your header.

      I did that....
      If you want totally remove the style switcher, you need also to remove the line:
      Code:

      require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_styleloader.php");

      I did that....
      And changes lines (for VersatilityI-II):
      $default_width = "fluid"; // wide | thin | fluid
      into:
      Code:

      $fontstyle = "f-default"; // f-smaller | f-default | f-larger
      $widthstyle = "w-thin"; // w-wide | w-thin | w-fluid

      and I did that.

      What am I missing?

      Thanks!!!
    • It feels like someone with a fever is yelling at my pants.
    • Ellie's Avatar
    • Ellie
    • Sr. Rocketeer
    • Posts: 143
    • Thanks: 0

    Re: About StyleSwitcher in Versatility, Carbonation, etc

    Posted 17 years 4 months ago
    • I have undone all my changes from above, as my net result was a scrambled mess, and I just couldn't leave it that way any longer.

      But I still very much want to remove the switcher, so if anyone has ideas on what I may have done wrong, I would be in your debt. I've include a pic of what my stellar handiwork did to my site.

      Lovely, I know.

      Thanks for the help!

      Ellie
    • It feels like someone with a fever is yelling at my pants.
  • Re: About StyleSwitcher in Versatility, Carbonation, etc

    Posted 17 years 4 months ago
    • Hello Ellie,

      If you do exactly the way I and You You posted, I think all works well.
      Just remove:
      <div id="access">
      bla bla bla
      bla bla bla
      bla bla bla
      </div>
      And also remove:
      require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_styleloader.php");

      Best Regards,

      Arifin FinLy
    • Rifky Hidayat's Avatar

    Re: About StyleSwitcher in Versatility, Carbonation, etc

    Posted 17 years 4 months ago
    • Hello All, hello Arifin Finly and hello YouYou,

      I'm new user in rt_versatility.
      I join to this forum cause I want to remove "Style Switcher" too, and all I have done just like Miss Ellie
      but switcher effect still works uncontrol.


      Quote
      Code:

      <div id="access">
      bla bla bla
      bla bla bla
      bla bla bla
      </div>

      * Remove all of those lines and your styleswitcher will disappear from your header.

      I did that....

      Quote
      If you want totally remove the style switcher, you need also to remove the line:
      Code:

      require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_styleloader.php");

      I did that....

      Quote
      And changes lines (for VersatilityI-II):
      $default_width = "fluid"; // wide | thin | fluid
      into:
      Code:

      $fontstyle = "f-default"; // f-smaller | f-default | f-larger
      $widthstyle = "w-thin"; // w-wide | w-thin | w-fluid

      and I did that.

      Please need hear to all of you soon.

      Rgds

      Rifkin
    • Youyou's Avatar
    • Youyou
    • Elite Rocketeer
    • Posts: 699
    • Thanks: 0

    Re: About StyleSwitcher in Versatility, Carbonation, etc

    Posted 17 years 4 months ago
    • Rifky Hidayat wrote:
      I join to this forum cause I want to remove "Style Switcher" too, and all I have done just like Miss Ellie
      but switcher effect still works uncontrol.
      Please need hear to all of you soon.
      Rifkin

      If you do exactly what it is explain in the first post (just the part 1) and also what it is explain in the second post, it will works.
      We cannot be more precise because this is all what it is needed.

Time to create page: 0.049 seconds